﻿using System;

namespace Program02
{
    class Program
    {
        static void Main(string[] args)
        {
            //匿名类型
            var doctor = new
            {
                FirstNmae = "小",
                LastName = "明"
            };
            Console.WriteLine(doctor.FirstNmae);
            Console.WriteLine(doctor.LastName);
            Console.WriteLine(doctor.FirstNmae+doctor.LastName);
        }
    }
}
